<template>
    <div>正在加载...</div>
</template>
<script setup lang="ts">
import {onMounted} from 'vue'
import {useRouter,useRoute} from 'vue-router'
const router = useRouter()
const route = useRoute()
onMounted(()=>{
    let {params} = {...route}
    let str = '/'+[...params.pathMatch].join('/')
    setTimeout(() => {
        router.push(str)
    }, 500);
})
</script>